﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Microsoft.Xna.Framework;

namespace SpaceShooter.GameObjects
{
    public class RocketMissile : Missile
    {
        public RocketMissile(IGameScreen gameScreen)
            : base(gameScreen, @"Models\p1_rocket")
        {
            this.Init();
        }

        public RocketMissile(IGameScreen gameScreen, TimeSpan flightTime)
            : base(gameScreen, @"Models\p1_rocket", flightTime)
        {
            this.Init();
        }

        private void Init()
        {
            this.DamageOnExplosion = 40;
            this.SetSpeed(10000.0f);
        }
    }
}
